<tr>
      <td>
<%=image_tag "leagues/" + match.league.cid.to_s + ".png"%>
     </td>
<td colspan="4">
  <table width="100%" class="no-lister">
    <tr>
      <td 
        onmouseover="this.addClassName('team-hover')"
        onmouseout="this.removeClassName('team-hover')"
        onclick="selectTeam(this,<%= match.id %>,<%= match.home_team.id %>)"
        id="<%= dom_id match %>_<%= dom_id match.home_team %>"
        width="50%"
      >
        <table width="100%" class="no-lister">
        <tr>
          <td width="50%">
            <%= team_detail match.home_team %>
          </td>
          <td width="50%">
            <%= point_spread(match,match.home_team) %>
          </td>
        </tr>
        </table>
      </td>
      
       <td
          onmouseover="this.addClassName('team-hover')"
          onmouseout="this.removeClassName('team-hover')"
          onclick="selectTeam(this,<%= match.id %>,<%= match.away_team.id %>)"
          id="<%= dom_id match %>_<%= dom_id match.away_team %>"
          width="50%"
        >
          <table width="100%" class="no-lister">
          <tr>
            <td width="50%">
              <%= point_spread(match,match.away_team) %>
            </td>
            <td width="50%">
              <%= team_detail match.away_team %>
              <%= hidden_field_tag "bet[][match_id]",match.id %>
              <%= hidden_field_tag "bet[][team_id]",'',:id=>"bet_match_id_#{match.id}_team_id" %>
            </td>
          </tr>
          </table>
        </td>
      </tr>
    </table>
</td>
<td style="font-size:10px">
<%= format_time match.begin_at,:datetime %>
</td>
</tr>
<tr><td colspan=6 style="text-align:left">
    <span style="float:right"><%= render :partial=>'friends_bet/link',:locals=>{:sid=>match.id}%></span>
    <span style="float:left">
    <%= render :partial=>'comments/comment_link',:locals=>{:sid=>match.id}%>
    </span>
    <span id="indicator_<%=match.id%>" style="margin-left:180px;display:none"> <%=image_tag"indicator.gif"%> </span>
    <div id="render_layout_<%=match.id%>" style="text-align:left;position:relative;"> 
    </div>
</td></tr>
